package com.step.ems.common

sealed interface UiState {
    data object Success : UiState
    data class Error(val message: String?) : UiState
    data class Loading(val type: RefreshType = RefreshType.Init) : UiState
    data object Empty : UiState
}

enum class RefreshType {
    Init, Pull, LoadMore
}